#ifndef _PUBTESTNODELET_H
#define _PUBTESTNODELET_H

#include <cstdint>
#include <cstdlib>
#include <time.h>
#include <nodelet/nodelet.h>
#include <pluginlib/class_list_macros.h>
#include "module_base/module_base.h"
#include "std_msgs/String.h"
#include "sensor_msgs/Image.h"
#include <thread>

namespace module_base
{
class PubTestNodelet : public ModuleBase
{

public:
	PubTestNodelet(){};
	~PubTestNodelet(){};
	virtual void onInit();

private:
	void test_callback(const std_msgs::StringConstPtr& msg);
	void pub_test();

private:
	std::thread thread_;

};//class

}//namespace


#endif